﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SATF.BI;

namespace SATF
{
    public class BIUserSingleton
    {
        private static BIUser m_instance;
        BIUserSingleton() { }
        public static BIUser instance
        {
            get
            {
                if (m_instance == null)
                {
                    m_instance = new BIUser();
                }
                return m_instance;
            } 
        }

        public static void SetBIUser(BIUser user)
        {
            m_instance = user;
        }
    }
}